﻿using System;
using lite;

namespace ZX.EHR.Library
{
    [Serializable]
    [Table(Name = "salCommissionItem")]
    [ZX.DBModule.Table("salCommissionItem", "ID")]
	public class  salCommissionItem : ZX.DBModule.BaseEntity
	{
        public salCommissionItem()
		{

		}
        private Guid _ID;
        /// <summary>
        /// ID唯一标识符
        /// </summary>
        [Column]
        public Guid ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        private Guid _EmployeeID;
        /// <summary>
        /// 员工ID
        /// </summary>
        [Column]
        public Guid EmployeeID
        {
            get { return _EmployeeID; }
            set { _EmployeeID = value; }
        }

        private Int32 _Year;
        /// <summary>
        /// 发放年份
        /// </summary>
        [Column]
        public Int32 Year
        {
            get { return _Year; }
            set { _Year = value; }
        }

        private Int32 _Month;
        /// <summary>
        /// 发放月份
        /// </summary>
        [Column]
        public Int32 Month
        {
            get { return _Month; }
            set { _Month = value; }
        }

        private string _ProjectItemDisplayName;
        /// <summary>
        /// 项目显示名称
        /// </summary>
        [Column]
        public string ProjectItemDisplayName
        {
            get { return _ProjectItemDisplayName; }
            set { _ProjectItemDisplayName = value; }
        }

        private string _ProjectItemSource;
        /// <summary>
        /// 项目来源
        /// </summary>
        [Column]
        public string ProjectItemSource
        {
            get { return _ProjectItemSource; }
            set { _ProjectItemSource = value; }
        }

        private string _ProjectItemReson;
        /// <summary>
        /// 原由
        /// </summary>
        [Column]
        public string ProjectItemReson
        {
            get { return _ProjectItemReson; }
            set { _ProjectItemReson = value; }
        }

        private decimal _ProjectItemValue;
        /// <summary>
        /// 佣金
        /// </summary>
        [Column]
        public decimal ProjectItemValue
        {
            get { return _ProjectItemValue; }
            set { _ProjectItemValue = value; }
        }

        private string _ProjectItemDes;
        /// <summary>
        /// 项目备注
        /// </summary>
        [Column]
        public string ProjectItemDes
        {
            get { return _ProjectItemDes; }
            set { _ProjectItemDes = value; }
        }


        private System.DateTime _AddTime;
        [Column]
        public System.DateTime AddTime
        {
            get { return _AddTime; }
            set { _AddTime = value; }
        }

        private System.Guid _AddUser;
        [Column]
        public System.Guid AddUser
        {
            get { return _AddUser; }
            set { _AddUser = value; }
        }
	}
}